####################################
# MH Sample Viewer Ver.1.2
# by ManiHoni
# Copyright 2013  All Rights reserved
# manihoni2008@gmail.com
# http://www.manihoni.net/
####################################

<History>
2013.08.24 Version 1.0 ...Private tested
2013.09.30 Version 1.1 ...Released
2013.11.08 Version 1.2 ...Bug Fixed

========================================
<Important>
This python tool is tested with Poser Pro 2014 sr2.1 Windows version only.
I am not checking whether this tool works correctly with MacOSX version or older version.
DazStudio is not supported.

========================================
<Discription>
This freeware is a script for directly viewing a sample image (jpeg only) of Poser items (figure,pose,etc).
You can open a sample image viewer by W-clicking the "!!!!!sample" icon on Library window. 

========================================
<Contents>
!!!!!sample.cr2	:This cr2 file is displayed as "!!!!!sample" on the Library window of Poser.
!!!!!sample.jpg	:This Jpeg file is a sample image of a poser item. (only Jpeg format.)
!!!!!sample.png	:This Png file is a thumbnail image for "!!!!!sample.cr2".(only png format) 
!!!!!sample.py	:A script of image viewer.

========================================
<Setting>
1) First, you need to rewrite two lines of "!!!!!sample.py" using your text editor.
   "mW" of 17th line is your monitor's pixel width, and "mH" of 18th line is pixel height. 
   The default is as follows. 
   
   ###############
   # Please  set Width(=mW) and Height (=mH) of your monitor
   mW = 1920
   mH = 1200
   ###############
   
   By setting up these numerical values, if "!!!!!sample.jpg" is larger than monitor size, this Viewer window fits your monitor. (However, this program does not reduce a image. The area which exceeded monitor size is not displayed.)

2) Make "!!!!!sample.jpg" & "!!!!!sample.png" for your Poser item by yourself with Photoshop,etc.
   "!!!!!sample.jpg" is smaller than your monitor size. 
   "!!!!!sample.png" should refer to the thumbnail image size attached to this package. 

3) Put 4 files ("!!!!!sample.cr2",".jpg",".png",".py") in your Poser item folder (ex. Runtime\Libraries\Pose\! A4V4\!!--Character--\!!MH_Anny_A4).
  *You must not change "Extension" of 4 files.

4) If you change into another file name instead of "!!!!!sample", you need to change all of 4 files. 
   And rewrite the 6th line of a ".cr2" file using your text editor. 
   The default is as follows. 

   ##############################
   runPythonScript ":!!!!!sample.py"
   ##############################

   Please refer to the contents of the "sample01&02" folder attached to this package. 

========================================
<Usage> 
1) W-Click "!!!!!sample" on the Library window of Poser.

========================================
<<Copyright, Limitation, License>>

All files of this package and their content are Copyright 2008-2013 by ManiHoni. All rights reserved.

There are no warranty about the result of running this script.
Please use by self-responsibility. 

You may use and modify it as you see fit.
You may redistribute this script "as is" in full. You may NOT sell this script - it is freeware after all.
You may redistribute your own modifications of this script as you see fit, provided that you mention "based on MH Sample Viewer by ManiHoni" in the readme file.

========================================
<<Package>>
..
	!!!!!sample.cr2
	!!!!!sample.jpg
	!!!!!sample.png
	!!!!!sample.py

..\Documentation\ManiHoni\
	MH Sample Viewer_ReadMe.txt
		
..\sample01&02\
	!!!!!sample01.cr2
	!!!!!sample01.jpg
	!!!!!sample01.png
	!!!!!sample01.py
	!!!!!sample02.cr2
	!!!!!sample02.jpg
	!!!!!sample02.png
	!!!!!sample02.py


========================================<EOF>